package net.yla.smartbus.module.ba.area.service.impl;

import com.alibaba.fastjson.JSONObject;
import net.yla.smartbus.module.ba.area.mapper.AreasMapper;
import net.yla.smartbus.module.ba.area.service.AreasService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Date: 2020-09-21 10:07
 * @Author: Being Nobody
 * @Version: 1.0
 */
@Service
public class AreasServiceImpl implements AreasService {

    @Resource
    private AreasMapper areasMapper;

    @Override
    public List<JSONObject> nativePlaces(String token) {
        return areasMapper.nativePlaces();
    }

    /* *//* @Override
    public int deleteByPrimaryKey(Integer areaId) {
        return areasMapper.deleteByPrimaryKey(areaId);
    }

    @Override
    public int insert(Areas record) {
        return areasMapper.insert(record);
    }

    @Override
    public int insertSelective(Areas record) {
        return areasMapper.insertSelective(record);
    }

    @Override
    public Areas selectByPrimaryKey(Integer areaId) {
        return areasMapper.selectByPrimaryKey(areaId);
    }

    @Override
    public int updateByPrimaryKeySelective(Areas record) {
        return areasMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Areas record) {
        return areasMapper.updateByPrimaryKey(record);
    }


*/
}
